<?php
/*
 * 汽车维修保养信息
 * @package    auto
 * @author     Mark
 * @copyright  Copyright (c) 2013 ixdcw team
 * @version    $Id: d744683be79fd5d6bbb44f956a31a452269a53f6 $
 */
class AutoMaintenanceModule extends BasicModule {
	private $_table;
	private $_fields;

	public function __construct(){
		parent::__construct();
		$this->_table = Table::name(Table::NAME_AUTO_MAINTENANCE);
	}

	public function getOne($itemid) {
		return $this->_db->query("select * from {$this->_table} where itemid = $itemid");
	}

	public function getList($condition = "status = 3") {

	}

	public function add($post) {

	}

	public function edit($post, $itemid) {

	}

	public function set($post) {

	}
}